﻿using System.Configuration;
using System.Data;
using System.Data.SqlClient;

namespace PMS.Utils
{
    public class SqlUtil
    {

        //private static readonly string ConnString = ConfigurationManager.ConnectionStrings["Default"].ConnectionString;

        //private  IDbConnection _dbConnection;

        //public  IDbConnection DbConnection
        //{
        //    get
        //    {
        //        _dbConnection = new SqlConnection(ConnString);
        //        _dbConnection.Open();
        //        return _dbConnection;
        //    }
        //}

        //public  void Disposable()
        //{
        //    _dbConnection.Dispose();
        //    _dbConnection.Close();
        //}
    }
}